﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>格式化字符串</title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <div style="text-align: center">
                <table border="0" style="width: 800px">
                    <tr>
                        
                    </tr>
                    <tr>
                        <td colspan="7">
                            <asp:Image ID="Image2" runat="server" ImageUrl="~/image/logo1.gif" /></td>
                    </tr>
                    <tr>
                        <td colspan="7">
                            <asp:Image ID="Image4" runat="server" ImageUrl="~/image/logo2.gif" /></td>
                    </tr>
                    <tr>
                        <td style="width: 201px">
                        </td>
                        <td style="width: 30px">
                        </td>
                        <td style="width: 30px">
                        </td>
                        <td style="width: 55px">
                        </td>
                        <td style="width: 78px">
                        </td>
                        <td style="width: 78px">
                        </td>
                        <td style="width: 100px">
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 201px; height: 312px">
                        </td>
                        <td style="width: 30px; height: 312px">
                        </td>
                        <td style="width: 30px; height: 312px">
                        </td>
                        <td style="width: 55px; height: 312px">
                        </td>
                        <td style="width: 78px; height: 312px">
                            <div style="text-align: center">
                                <table style="width: 100%">
                                    <tr>
                                        <td style="width: 134px">
                                            <asp:Image ID="Image5" runat="server" ImageUrl="~/image/bookName.bmp" /></td>
                                        <td align="center" style="width: 134px">
                                            <asp:Label ID="Label3" runat="server" Font-Size="Smaller" Text="   ASP.NET范例大全" 
                                                Width="140px"></asp:Label></td>
                                        <td style="width: 100px">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 134px">
                                            <asp:Image ID="Image6" runat="server" ImageUrl="~/image/bookPrice.bmp" /></td>
                                        <td style="width: 134px">
                        <asp:TextBox ID="TxtCurrency" runat="server" BackColor="#FFE0C0" ReadOnly="True"></asp:TextBox></td>
                                        <td style="width: 100px">
                                            &nbsp;<asp:Label ID="Label1" runat="server" ForeColor="#C00000" Text="提示：格式化为Currency类型"
                                                Width="220px" Font-Bold="True" Font-Size="Smaller"></asp:Label></td>
                                    </tr>
                                    <tr>
                                        <td style="width: 134px; height: 26px">
                                        </td>
                                        <td style="width: 134px; height: 26px">
                                        </td>
                                        <td style="width: 100px; height: 26px">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 134px">
                                            <asp:Image ID="Image7" runat="server" ImageUrl="~/image/time.bmp" /></td>
                                        <td style="width: 134px">
                        <asp:TextBox ID="TxtShortDate" runat="server" BackColor="#FFE0C0" ReadOnly="True"></asp:TextBox></td>
                                        <td style="width: 100px">
                                            &nbsp;<asp:Label ID="Label2" runat="server" ForeColor="#C00000" Text="提示：格式化为ShortDate类型"
                                                Width="220px" Font-Bold="True" Font-Size="Smaller"></asp:Label></td>
                                    </tr>
                                    <tr>
                                        <td style="width: 134px">
                                            <asp:Image ID="Image8" runat="server" ImageUrl="~/image/lb.bmp" /></td>
                                        <td align="center" style="width: 134px">
                                            <asp:Label ID="Label4" runat="server" Font-Size="Smaller" Text="计算机书类" Width="72px"></asp:Label></td>
                                        <td style="width: 100px">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 134px">
                                        </td>
                                        <td style="width: 134px">
                                            <asp:ImageButton ID="ImgBtnOK" runat="server" ImageUrl="~/image/xg.bmp" OnClick="ImgBtnOK_Click" /></td>
                                        <td style="width: 100px">
                                            <asp:ImageButton ID="ImgBtnCZ" runat="server" ImageUrl="~/image/cz.bmp" OnClick="ImgBtnCZ_Click" />&nbsp;</td>
                                    </tr>
                                </table>
                            </div>
                        </td>
                        <td style="width: 78px; height: 312px">
                        </td>
                        <td style="width: 100px; height: 312px">
                        </td>
                    </tr>
                    <tr>
                      
                    </tr>
                </table>
            </div>
        </div>
    </form>
</body>
</html>
